• Home
  • Raw
  • Download

Lines Matching refs:push_back

262         crypto_params.push_back(hw_enforced());  in TEST_P()
263 non_crypto_params.push_back(sw_enforced()); in TEST_P()
267 crypto_params.push_back(sw_enforced()); in TEST_P()
304 crypto_params.push_back(hw_enforced()); in TEST_P()
305 non_crypto_params.push_back(sw_enforced()); in TEST_P()
309 crypto_params.push_back(sw_enforced()); in TEST_P()
493 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
494 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
535 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
536 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
557 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
558 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PSS); in TEST_P()
570 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
571 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
587 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
588 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
604 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
618 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
619 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PSS); in TEST_P()
631 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
657 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
658 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
673 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
674 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
726 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
1031 begin_params.push_back(TAG_MAC_LENGTH, 264); in TEST_P()
1032 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
1045 begin_params.push_back(TAG_MAC_LENGTH, 120); in TEST_P()
1046 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
1134 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
1135 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PSS); in TEST_P()
1157 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
1158 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PSS); in TEST_P()
1228 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
1229 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
1251 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
1252 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
1413 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
1434 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
2108 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2140 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2245 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_OAEP); in TEST_P()
2246 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
2267 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_OAEP); in TEST_P()
2268 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA1); in TEST_P()
2292 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_OAEP); in TEST_P()
2293 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_384); in TEST_P()
2313 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_OAEP); in TEST_P()
2314 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA1); in TEST_P()
2340 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_OAEP); in TEST_P()
2341 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
2429 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P()
2452 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P()
2467 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2526 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
2527 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2542 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
2543 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2578 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
2579 begin_params.push_back(TAG_PADDING, KM_PAD_PKCS7); in TEST_P()
2600 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
2601 begin_params.push_back(TAG_PADDING, KM_PAD_PKCS7); in TEST_P()
2647 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CTR); in TEST_P()
2648 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2662 input_params.push_back(client_params()); in TEST_P()
2663 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CTR); in TEST_P()
2664 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2735 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_CTR); in TEST_P()
2736 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2750 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CTR); in TEST_P()
2751 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2752 input_params.push_back(TAG_NONCE, "123", 3); in TEST_P()
2803 input_params.push_back(TAG_NONCE, "abcdefghijklmnop", 16); in TEST_P()
2804 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
2805 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2816 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
2817 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2818 input_params.push_back(TAG_NONCE, "aaaaaaaaaaaaaaaa", 16); in TEST_P()
2846 input_params.push_back(TAG_NONCE, "abcdefghijklmnop", 16); in TEST_P()
2847 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
2848 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2865 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
2866 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2880 input_params.push_back(client_params()); in TEST_P()
2881 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
2882 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2925 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
2926 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2927 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
2930 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2945 begin_params.push_back(begin_out_params); in TEST_P()
2968 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
2969 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2970 begin_params.push_back(TAG_MAC_LENGTH, 96); in TEST_P()
2973 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2991 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
2992 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
2993 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
2996 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3012 begin_params.push_back(begin_out_params); in TEST_P()
3013 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3014 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3015 begin_params.push_back(TAG_MAC_LENGTH, 96); in TEST_P()
3037 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3038 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3039 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3040 begin_params.push_back(TAG_NONCE, nonce, sizeof(nonce)); in TEST_P()
3090 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3091 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3092 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3095 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3110 begin_params.push_back(begin_out_params); in TEST_P()
3131 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3132 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3133 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3136 update_params.push_back(TAG_ASSOCIATED_DATA, "b", 1); in TEST_P()
3168 begin_params.push_back(begin_out_params); in TEST_P()
3202 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3203 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3204 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3208 update_params.push_back(TAG_ASSOCIATED_DATA, "foo", 3); in TEST_P()
3228 begin_params.push_back(begin_out_params); in TEST_P()
3232 update_params.push_back(TAG_ASSOCIATED_DATA, "foofoo", 6); in TEST_P()
3253 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3254 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3255 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3258 update_params.push_back(TAG_ASSOCIATED_DATA, "foobar", 6); in TEST_P()
3276 begin_params.push_back(begin_out_params); in TEST_P()
3279 update_params.push_back(TAG_ASSOCIATED_DATA, "barfoo" /* Wrong AAD */, 6); in TEST_P()
3300 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3301 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3302 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3305 update_params.push_back(TAG_ASSOCIATED_DATA, "foobar", 6); in TEST_P()
3318 begin_params.push_back(TAG_NONCE, "123456789012", 12); in TEST_P()
3342 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_GCM); in TEST_P()
3343 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3344 begin_params.push_back(TAG_MAC_LENGTH, 128); in TEST_P()
3348 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3365 begin_params.push_back(begin_out_params); in TEST_P()
3409 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
3410 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3423 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
3424 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3455 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
3456 begin_params.push_back(TAG_PADDING, KM_PAD_PKCS7); in TEST_P()
3475 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
3476 begin_params.push_back(TAG_PADDING, KM_PAD_PKCS7); in TEST_P()
3695 input_params.push_back(TAG_NONCE, "abcdefgh", 8); in TEST_P()
3696 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3697 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3708 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3709 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3710 input_params.push_back(TAG_NONCE, "aaaaaaaa", 8); in TEST_P()
3736 input_params.push_back(TAG_NONCE, "abcdefgh", 8); in TEST_P()
3737 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3738 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3752 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3753 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3766 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3767 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3800 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3801 begin_params.push_back(TAG_PADDING, KM_PAD_PKCS7); in TEST_P()
3821 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3822 begin_params.push_back(TAG_PADDING, KM_PAD_PKCS7); in TEST_P()
3823 begin_params.push_back(TAG_NONCE, iv.data(), iv.size()); in TEST_P()
3841 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3842 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3856 input_params.push_back(client_params()); in TEST_P()
3857 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CBC); in TEST_P()
3858 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3890 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
3891 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
3911 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
3912 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
4027 att_sw_enforced.push_back(TAG_USER_ID, user_id); in verify_attestation_record()
4029 att_tee_enforced.push_back(TAG_USER_ID, user_id); in verify_attestation_record()
4034 att_sw_enforced.push_back(TAG_INCLUDE_UNIQUE_ID); in verify_attestation_record()
4036 att_tee_enforced.push_back(TAG_INCLUDE_UNIQUE_ID); in verify_attestation_record()
4039 expected_sw_enforced.push_back(TAG_ATTESTATION_APPLICATION_ID, attestation_app_id.data(), in verify_attestation_record()
4131 begin_params.push_back(TAG_BLOCK_MODE, KM_MODE_ECB); in TEST_P()
4132 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
4177 begin_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P()
4224 begin_params.push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in TEST_P()
4294 keymasters.push_back(make_unique<AndroidKeymaster>(new TestKeymasterContext, 16)); in CreateKeymasters()
4304 if (result.error == KM_ERROR_OK) paramsVec.push_back(move(result.params)); in GetHmacSharingParameters()
4316 nonces.push_back(ToByteString(param.nonce)); in CopyNonces()
4330 responses.push_back(keymaster->ComputeSharedHmac(req)); in ComputeSharedHmac()
4356 paramsVec.push_back(std::move(result1.params)); in TEST_F()
4360 paramsVec.push_back(std::move(result2.params)); in TEST_F()