Lines Matching refs:k2
29 void vb2_public_key_to_vb2(struct vb2_public_key *k2, in vb2_public_key_to_vb2() argument
32 k2->arrsize = key->len; in vb2_public_key_to_vb2()
33 k2->n0inv = key->n0inv; in vb2_public_key_to_vb2()
34 k2->n = key->n; in vb2_public_key_to_vb2()
35 k2->rr = key->rr; in vb2_public_key_to_vb2()
36 k2->sig_alg = vb2_crypto_to_signature(key->algorithm); in vb2_public_key_to_vb2()
37 k2->hash_alg = vb2_crypto_to_hash(key->algorithm); in vb2_public_key_to_vb2()
127 struct vb2_public_key k2; in main() local
145 vb2_public_key_to_vb2(&k2, key); in main()
148 test_signatures(&k2); in main()
149 test_verify_digest(&k2); in main()