/trusty/user/base/lib/hwbcc/rust/src/ |
D | lib.rs | 105 aad: &'a [u8], field 115 aad: &'a [u8], in new() 122 aad, in new() 123 aad_size: aad.len() as u32, in new() 143 serializer.serialize_bytes(self.aad) in serialize() 374 aad: &[u8], in sign_data() 382 if aad.len() > HWBCC_MAX_AAD_SIZE as usize { in sign_data() 392 SignDataMsg::new(BccMsgHeader { cmd, test_mode, context: 0 }, cose_algorithm, data, aad); in sign_data()
|
/trusty/user/base/lib/hwbcc/client/ |
D | hwbcc.c | 99 const uint8_t* aad, in sign_data() argument 114 assert(aad); in sign_data() 153 if (aad) { in sign_data() 155 iovs[2].iov_base = (void*)aad; in sign_data() 222 const uint8_t* aad, in hwbcc_get_protected_data() argument 239 rc = sign_data(chan, test_mode, cose_algorithm, data, data_size, aad, in hwbcc_get_protected_data()
|
/trusty/user/base/app/swaes-benchmark/ |
D | swaes-bench.c | 200 rc = EVP_EncryptUpdate(&_state->evp_ctx, NULL, &out_len, aad, in encrypt() 201 sizeof(aad)); in encrypt() 203 ASSERT_EQ(sizeof(aad), out_len); in encrypt() 251 rc = EVP_DecryptUpdate(&_state->evp_ctx, NULL, &out_len, aad, in decrypt() 252 sizeof(aad)); in decrypt() 254 ASSERT_EQ(sizeof(aad), out_len); in decrypt()
|
D | vectors.h | 26 static const uint8_t aad[16] = {0x00}; variable
|
/trusty/user/base/lib/hwaes/ |
D | hwaes.c | 384 hwaes_set_shm_arg_in(&args->aad, &cmd_header.aad, shm_descs, &shm); in hwaes_crypt() 405 if (cmd_header.aad.shm_idx == HWAES_INVALID_INDEX && args->aad.len != 0) { in hwaes_crypt() 408 hwaes_set_iov_arg_in(&args->aad, &cmd_header.aad, &req_iov); in hwaes_crypt()
|
/trusty/user/base/lib/hwbcc/client/include/lib/hwbcc/client/ |
D | hwbcc.h | 52 const uint8_t* aad,
|
/trusty/user/app/sample/hwaes/ |
D | main.c | 146 if (hwaes_check_arg_in(&args->aad) == HWAES_NO_ERROR) { in hwaes_aes_op() 226 if (hwaes_check_arg_in(&args->aad) == HWAES_NO_ERROR) { in hwaes_aes_op() 228 args->aad.data_ptr, args->aad.len); in hwaes_aes_op()
|
/trusty/user/app/keymint/ |
D | rpc.rs | 85 aad: &[u8], in sign_data_in_cose_sign1() 105 aad, in sign_data_in_cose_sign1()
|
/trusty/user/base/lib/hwaes/srv/include/lib/hwaes_server/ |
D | hwaes_server.h | 66 struct hwaes_arg_in aad; member
|
/trusty/user/base/lib/hwaes/include/lib/hwaes/ |
D | hwaes.h | 99 struct hwcrypt_arg_in aad; member
|
/trusty/user/base/lib/hwbcc/srv/include/lib/hwbcc/srv/ |
D | srv.h | 58 const uint8_t* aad,
|
/trusty/user/base/lib/hwbcc/common/include/lib/hwbcc/common/ |
D | swbcc.h | 57 const uint8_t* aad,
|
/trusty/user/base/app/hwaes-benchmark/ |
D | hwaes-bench.c | 302 _state->args.aad.data_ptr = aad; in BENCH_SETUP() 303 _state->args.aad.len = sizeof(aad); in BENCH_SETUP()
|
D | vectors.h | 26 static const uint8_t aad[16] = {0x00}; variable
|
/trusty/user/app/keymaster/ |
D | trusty_remote_provisioning_context.cpp | 168 const std::vector<uint8_t>& aad) const { in BuildProtectedDataPayload() 174 testMode, EDDSA, macKey.data(), macKey.size(), aad.data(), in BuildProtectedDataPayload() 175 aad.size(), signedOutput.data(), signedOutput.size(), in BuildProtectedDataPayload()
|
D | trusty_remote_provisioning_context.h | 50 const std::vector<uint8_t>& aad) const override;
|
/trusty/user/base/interface/hwaes/include/interface/hwaes/ |
D | hwaes.h | 225 struct hwaes_data_desc aad; member
|
/trusty/user/base/app/hwaes-unittest/ |
D | hwaes-test.c | 74 struct hwcrypt_arg_in aad; member 230 TV_DATA(name_, aad), \ 253 args->aad = vector->aad; in parse_vector() 763 _state->args_encrypt.aad = (struct hwcrypt_arg_in){ in TEST_F() 770 _state->args_encrypt.aad = (struct hwcrypt_arg_in){}; in TEST_F() 786 _state->args_decrypt.aad = (struct hwcrypt_arg_in){ in TEST_F() 793 _state->args_decrypt.aad = (struct hwcrypt_arg_in){}; in TEST_F()
|
/trusty/user/base/lib/apploader_package/ |
D | package.cpp | 133 cryptArgs.aad.data_ptr = additionalAuthenticatedData.data(); in hwaesDecryptAesGcmInPlace() 134 cryptArgs.aad.len = additionalAuthenticatedData.size(); in hwaesDecryptAesGcmInPlace()
|
/trusty/user/base/lib/hwbcc/common/ |
D | swbcc.c | 312 const uint8_t* aad, in swbcc_sign_key() argument 324 assert(aad); in swbcc_sign_key() 337 srv_state.dice_ctx, key, key_size, aad, aad_size, signing_key, in swbcc_sign_key()
|
/trusty/user/app/sample/hwcryptohal/server/ |
D | service_encryption_key.rs | 89 move |pt, aad| { in encrypt_content_service_encryption_key() 95 op.update_aad(aad)?; in encrypt_content_service_encryption_key()
|
/trusty/user/base/lib/hwaes/srv/ |
D | hwaes_server.c | 350 rc = hwaes_set_arg_in(&cmd_header->aad, PROT_READ, shms, num_handles, in hwaes_handle_aes_cmd() 351 req_msg_buf, req_msg_size, &req_offset, &args.aad); in hwaes_handle_aes_cmd()
|