Home | History | Annotate | Download | only in keystore

Lines Matching defs:algorithm

65     // The encryption algorithm is AES-256-CBC with PKCS #7 padding and a random
66 // IV. The authentication algorithm is HMAC-SHA256 and is computed over the
451 auto algorithm = NullOrOr(hardware_enforced_characteristics.GetTagValue(TAG_ALGORITHM),
453 if (!algorithm.isOk() || algorithm.value() != Algorithm::AES) {
454 ALOGW("Found encryption key with invalid algorithm.");
492 auto algorithm = NullOrOr(hardware_enforced_characteristics.GetTagValue(TAG_ALGORITHM),
494 if (!algorithm.isOk() || algorithm.value() != Algorithm::HMAC){
495 ALOGW("Found authentication key with invalid algorithm.");