Lines Matching refs:t

8100 			       struct rsa_aes_wrap_test *t)  in test_rsa_aes_wrap()  argument
8107 CK_ULONG target_size = t->target_type == CKK_AES ? in test_rsa_aes_wrap()
8108 t->target.aes.size / 8 : in test_rsa_aes_wrap()
8109 t->target.rsa.modulus_len; in test_rsa_aes_wrap()
8120 { CKA_MODULUS, (CK_VOID_PTR)t->key.modulus, in test_rsa_aes_wrap()
8121 t->key.modulus_len }, in test_rsa_aes_wrap()
8122 { CKA_PUBLIC_EXPONENT, (CK_VOID_PTR)t->key.pub_exp, in test_rsa_aes_wrap()
8123 t->key.pub_exp_len }, in test_rsa_aes_wrap()
8137 { CKA_MODULUS, (CK_VOID_PTR)t->key.modulus, in test_rsa_aes_wrap()
8138 t->key.modulus_len }, in test_rsa_aes_wrap()
8139 { CKA_PRIVATE_EXPONENT, (CK_VOID_PTR)t->key.priv_exp, in test_rsa_aes_wrap()
8140 t->key.priv_exp_len }, in test_rsa_aes_wrap()
8141 { CKA_PUBLIC_EXPONENT, (CK_VOID_PTR)t->key.pub_exp, in test_rsa_aes_wrap()
8142 t->key.pub_exp_len }, in test_rsa_aes_wrap()
8143 { CKA_PRIME_1, (CK_VOID_PTR)t->key.prime1, in test_rsa_aes_wrap()
8144 t->key.prime1_len }, in test_rsa_aes_wrap()
8145 { CKA_PRIME_2, (CK_VOID_PTR)t->key.prime2, in test_rsa_aes_wrap()
8146 t->key.prime2_len }, in test_rsa_aes_wrap()
8166 { CKA_MODULUS, (CK_VOID_PTR)t->target.rsa.modulus, in test_rsa_aes_wrap()
8167 t->target.rsa.modulus_len }, in test_rsa_aes_wrap()
8168 { CKA_PRIVATE_EXPONENT, (CK_VOID_PTR)t->target.rsa.priv_exp, in test_rsa_aes_wrap()
8169 t->target.rsa.priv_exp_len }, in test_rsa_aes_wrap()
8170 { CKA_PUBLIC_EXPONENT, (CK_VOID_PTR)t->target.rsa.pub_exp, in test_rsa_aes_wrap()
8171 t->target.rsa.pub_exp_len }, in test_rsa_aes_wrap()
8172 { CKA_PRIME_1, (CK_VOID_PTR)t->target.rsa.prime1, in test_rsa_aes_wrap()
8173 t->target.rsa.prime1_len }, in test_rsa_aes_wrap()
8174 { CKA_PRIME_2, (CK_VOID_PTR)t->target.rsa.prime2, in test_rsa_aes_wrap()
8175 t->target.rsa.prime2_len }, in test_rsa_aes_wrap()
8200 CK_ATTRIBUTE *unwrapped_key_template = (t->target_type == CKK_AES) ? in test_rsa_aes_wrap()
8203 CK_ULONG unwrapped_key_template_size = t->target_type == CKK_AES ? in test_rsa_aes_wrap()
8245 assert(t != NULL); in test_rsa_aes_wrap()
8246 assert(t->target_type == CKK_RSA || t->target_type == CKK_AES); in test_rsa_aes_wrap()
8250 target_bits, (t->target_type == CKK_AES) ? "AES" : "RSA", in test_rsa_aes_wrap()
8251 t->key.modulus_len * 8); in test_rsa_aes_wrap()
8265 if (t->target_type == CKK_AES) { in test_rsa_aes_wrap()
8290 if (t->target_type == CKK_AES) { in test_rsa_aes_wrap()
8303 if (t->target_type == CKK_AES) { in test_rsa_aes_wrap()
8321 if (!ADBG_EXPECT_BUFFER(c, t->target.rsa.modulus, in test_rsa_aes_wrap()
8322 t->target.rsa.modulus_len, in test_rsa_aes_wrap()
8325 !ADBG_EXPECT_BUFFER(c, t->target.rsa.priv_exp, in test_rsa_aes_wrap()
8326 t->target.rsa.priv_exp_len, in test_rsa_aes_wrap()