Searched refs:algo (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | ckdf.cpp | 53 auto algo = EVP_aes_128_cbc(); in DEFINE_OPENSSL_OBJECT_POINTER() local 59 algo = EVP_aes_256_cbc(); in DEFINE_OPENSSL_OBJECT_POINTER() 65 if (!CMAC_Init(ctx.get(), key.key_material, key.key_material_size, algo, in DEFINE_OPENSSL_OBJECT_POINTER()
|
/system/security/keystore-engine/ |
D | keystore_backend_binder.cpp | 82 auto algo = authorizationValue(TAG_ALGORITHM, param); in getKeyAlgoritmFromKeyCharacteristics() local 83 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics() 86 auto algo = authorizationValue(TAG_ALGORITHM, param); in getKeyAlgoritmFromKeyCharacteristics() local 87 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 126 auto algo = authorizationValue(TAG_ALGORITHM, param); in getKeyAlgoritmFromKeyCharacteristics() local 127 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics() 130 auto algo = authorizationValue(TAG_ALGORITHM, param); in getKeyAlgoritmFromKeyCharacteristics() local 131 if (algo.isOk()) return algo; in getKeyAlgoritmFromKeyCharacteristics()
|
/system/netd/server/ |
D | XfrmController.cpp | 976 int XfrmController::fillNlAttrXfrmAlgoEnc(const XfrmAlgo& inAlgo, nlattr_algo_crypt* algo) { in fillNlAttrXfrmAlgoEnc() argument 983 strncpy(algo->crypt.alg_name, inAlgo.name.c_str(), sizeof(algo->crypt.alg_name)); in fillNlAttrXfrmAlgoEnc() 984 algo->crypt.alg_key_len = inAlgo.key.size() * 8; // bits in fillNlAttrXfrmAlgoEnc() 985 memcpy(algo->key, &inAlgo.key[0], inAlgo.key.size()); in fillNlAttrXfrmAlgoEnc() 987 fillXfrmNlaHdr(&algo->hdr, XFRMA_ALG_CRYPT, len); in fillNlAttrXfrmAlgoEnc() 991 int XfrmController::fillNlAttrXfrmAlgoAuth(const XfrmAlgo& inAlgo, nlattr_algo_auth* algo) { in fillNlAttrXfrmAlgoAuth() argument 998 strncpy(algo->auth.alg_name, inAlgo.name.c_str(), sizeof(algo->auth.alg_name)); in fillNlAttrXfrmAlgoAuth() 999 algo->auth.alg_key_len = inAlgo.key.size() * 8; // bits in fillNlAttrXfrmAlgoAuth() 1002 algo->auth.alg_trunc_len = inAlgo.truncLenBits; in fillNlAttrXfrmAlgoAuth() 1004 memcpy(algo->key, &inAlgo.key[0], inAlgo.key.size()); in fillNlAttrXfrmAlgoAuth() [all …]
|
D | XfrmController.h | 360 static int fillNlAttrXfrmAlgoEnc(const XfrmAlgo& in_algo, nlattr_algo_crypt* algo); 361 static int fillNlAttrXfrmAlgoAuth(const XfrmAlgo& in_algo, nlattr_algo_auth* algo); 362 static int fillNlAttrXfrmAlgoAead(const XfrmAlgo& in_algo, nlattr_algo_aead* algo);
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 113 uint32_t algo = INCFS_HASH_TREE_SHA256; in makeFileWithHash() member
|