Searched refs:dsa_key (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/ |
D | asymmetric_key.cpp | 290 UniquePtr<DSA, DSA_Delete> dsa_key(DSA_new()); in GenerateKey() local 292 if (dsa_key.get() == NULL || pkey.get() == NULL) { in GenerateKey() 302 if (!DSA_generate_parameters_ex(dsa_key.get(), key_size, NULL /* seed */, 0 /* seed_len */, in GenerateKey() 309 SetDsaParamData(&authorizations, TAG_DSA_GENERATOR, dsa_key->g); in GenerateKey() 310 SetDsaParamData(&authorizations, TAG_DSA_P, dsa_key->p); in GenerateKey() 311 SetDsaParamData(&authorizations, TAG_DSA_Q, dsa_key->q); in GenerateKey() 317 dsa_key->g = BN_bin2bn(g_blob.data, g_blob.data_length, NULL); in GenerateKey() 318 dsa_key->p = BN_bin2bn(p_blob.data, p_blob.data_length, NULL); in GenerateKey() 319 dsa_key->q = BN_bin2bn(q_blob.data, q_blob.data_length, NULL); in GenerateKey() 321 if (dsa_key->g == NULL || dsa_key->p == NULL || dsa_key->q == NULL) { in GenerateKey() [all …]
|
D | asymmetric_key.h | 96 static size_t key_size_bits(DSA* dsa_key); 100 DsaKey(DSA* dsa_key, const AuthorizationSet auths, const Logger& logger) in DsaKey() argument 101 : AsymmetricKey(auths, logger), dsa_key_(dsa_key) {} in DsaKey()
|