Lines Matching refs:pub_key
679 const uint8_t *pub_key; member
793 .pub_key = rsa1024_public_key,
814 .pub_key = rsa1024_public_key,
838 .pub_key = rsa2048_public_key,
859 .pub_key = rsa2048_public_key,
882 QCryptoAkCipher *pub_key, *priv_key; in test_akcipher() local
887 pub_key = qcrypto_akcipher_new(&data->opt, in test_akcipher()
889 data->pub_key, data->pub_key_len, in test_akcipher()
891 g_assert(pub_key != NULL); in test_akcipher()
901 g_assert(qcrypto_akcipher_encrypt(pub_key, data->plaintext, data->plen, in test_akcipher()
927 g_assert(qcrypto_akcipher_verify(pub_key, data->signature, data->slen, in test_akcipher()
930 g_assert(qcrypto_akcipher_verify(pub_key, signature, data->slen, in test_akcipher()
935 g_assert(qcrypto_akcipher_verify(pub_key, signature, data->slen, in test_akcipher()
939 qcrypto_akcipher_free(pub_key); in test_akcipher()