Home
last modified time | relevance | path

Searched refs:md (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/
Dhmac_operation.cpp99 const EVP_MD* md = nullptr; in HmacOperation() local
106 md = EVP_sha1(); in HmacOperation()
109 md = EVP_sha224(); in HmacOperation()
112 md = EVP_sha256(); in HmacOperation()
115 md = EVP_sha384(); in HmacOperation()
118 md = EVP_sha512(); in HmacOperation()
122 if (md == nullptr) { in HmacOperation()
128 if (mac_length > EVP_MD_size(md) || mac_length < kMinHmacLengthBits / 8) { in HmacOperation()
138 HMAC_Init_ex(&ctx_, key_data, key_data_size, md, NULL /* engine */); in HmacOperation()
Dintegrity_assured_key_blob.cpp62 const EVP_MD* md = EVP_sha256(); in ComputeHmac() local
63 if (!HMAC_Init_ex(&ctx, HMAC_KEY, sizeof(HMAC_KEY), md, NULL /* engine */)) in ComputeHmac()
/system/extras/verity/
Dbuild_verity_tree.cpp26 const EVP_MD *md; member
51 int hash_block(const EVP_MD *md, in hash_block() argument
62 ret &= EVP_DigestInit_ex(mdctx, md, NULL); in hash_block()
74 int hash_blocks(const EVP_MD *md, in hash_blocks() argument
83 hash_block(md, in + i, block_size, salt, salt_size, out, &s); in hash_blocks()
97 hash_blocks(ctx->md, (const unsigned char *)data, len, in hash_chunk()
207 const EVP_MD *md = EVP_sha256(); in main() local
208 if (!md) { in main()
212 size_t hash_size = EVP_MD_size(md); in main()
311 hash_block(md, zero_block, block_size, salt, salt_size, zero_block_hash, NULL); in main()
[all …]
/system/bt/stack/btm/
Dbtm_sco.c583 tBTM_PM_MODE md; in BTM_CreateSco() local
632 if(BTM_ReadPowerMode(remote_bda, &md) == BTM_SUCCESS) in BTM_CreateSco()
634 if (md == BTM_PM_MD_PARK || md == BTM_PM_MD_SNIFF) in BTM_CreateSco()
/system/media/camera/docs/
Dmetadata_helpers.py740 javatext = md(text, JAVADOC_IMAGE_SRC_METADATA)
816 def md(text, img_src_prefix=""): function
Dhtml.mako105 from metadata_helpers import md
140 return md(text, IMAGE_SRC_METADATA)
/system/bt/doc/
Dstyle_guide.md8 Each subsystem's purpose should be documented in the `doc/directory_layout.md`