Home | History | Annotate | Download | only in keymaster

Lines Matching defs:key_size_bits

357 size_t DsaKey::key_size_bits(DSA* dsa_key) {
396 uint32_t key_size_bits;
397 if (authorizations.GetTagValue(TAG_KEY_SIZE, &key_size_bits)) {
398 // key_size_bits specified, make sure it matches the key.
399 if (key_size_bits != extracted_key_size_bits) {
404 // key_size_bits not specified, add it.
516 uint32_t key_size_bits;
517 if (authorizations.GetTagValue(TAG_KEY_SIZE, &key_size_bits)) {
518 // key_size_bits specified, make sure it matches the key.
519 if (key_size_bits != extracted_key_size_bits) {
524 // key_size_bits not specified, add it.
546 EC_GROUP* EcdsaKey::choose_group(size_t key_size_bits) {
547 switch (key_size_bits) {
570 keymaster_error_t EcdsaKey::get_group_size(const EC_GROUP& group, size_t* key_size_bits) {
573 *key_size_bits = 192;
576 *key_size_bits = 224;
579 *key_size_bits = 256;
582 *key_size_bits = 384;
585 *key_size_bits = 521;