Home | History | Annotate | Download | only in keystore

Lines Matching full:keymaster

38 using keymaster::AuthorizationSet;
39 using keymaster::AuthorizationSetBuilder;
93 encrypt_params.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC);
103 if (!output_params.GetTagValue(keymaster::TAG_NONCE, &init_vector_blob)) {
112 authenticate_params.Authorization(keymaster::TAG_MAC_LENGTH, kHMACOutputSize);
153 encrypt_params.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC);
154 encrypt_params.Authorization(keymaster::TAG_NONCE, protobuf.init_vector().data(),
166 const keymaster::AuthorizationSet& input_parameters,
169 keymaster::AuthorizationSet* output_parameters,
409 .Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC)
410 .Authorization(keymaster::TAG_NO_AUTH_REQUIRED);
447 .Authorization(keymaster::TAG_MIN_MAC_LENGTH, kHMACOutputSize)
448 .Authorization(keymaster::TAG_NO_AUTH_REQUIRED);
477 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm) &&
478 !software_enforced_characteristics.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm)) ||
484 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_KEY_SIZE, &key_size) &&
485 !software_enforced_characteristics.GetTagValue(keymaster::TAG_KEY_SIZE, &key_size)) ||
491 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_BLOCK_MODE, &block_mode) &&
492 !software_enforced_characteristics.GetTagValue(keymaster::TAG_BLOCK_MODE, &block_mode)) ||
498 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_PADDING, &padding_mode) &&
499 !software_enforced_characteristics.GetTagValue(keymaster::TAG_PADDING, &padding_mode)) ||
522 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm) &&
523 !software_enforced_characteristics.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm)) ||
529 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_KEY_SIZE, &key_size) &&
530 !software_enforced_characteristics.GetTagValue(keymaster::TAG_KEY_SIZE, &key_size)) ||
536 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_MIN_MAC_LENGTH, &mac_size) &&
537 !software_enforced_characteristics.GetTagValue(keymaster::TAG_MIN_MAC_LENGTH,
544 if ((!hardware_enforced_characteristics.GetTagValue(keymaster::TAG_DIGEST, &digest) &&
545 !software_enforced_characteristics.GetTagValue(keymaster::TAG_DIGEST, &digest)) ||