Lines Matching refs:algorithm
251 keymaster_algorithm_t algorithm; in import_keypair() local
252 keymaster_error_t err = GetPkcs8KeyAlgorithm(key, key_length, &algorithm); in import_keypair()
255 request.key_description.push_back(TAG_ALGORITHM, algorithm); in import_keypair()
256 StoreDefaultNewKeyParams(algorithm, &request.key_description); in import_keypair()
281 keymaster_algorithm_t* algorithm) { in GetPkcs8KeyAlgorithm() argument
302 *algorithm = KM_ALGORITHM_RSA; in GetPkcs8KeyAlgorithm()
305 *algorithm = KM_ALGORITHM_EC; in GetPkcs8KeyAlgorithm()
496 keymaster_algorithm_t algorithm, in get_supported_block_modes() argument
507 request.algorithm = algorithm; in get_supported_block_modes()
528 keymaster_algorithm_t algorithm, in get_supported_padding_modes() argument
539 request.algorithm = algorithm; in get_supported_padding_modes()
559 keymaster_algorithm_t algorithm, in get_supported_digests() argument
570 request.algorithm = algorithm; in get_supported_digests()
590 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats() argument
599 request.algorithm = algorithm; in get_supported_import_formats()
619 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats() argument
628 request.algorithm = algorithm; in get_supported_export_formats()
947 void SoftKeymasterDevice::StoreDefaultNewKeyParams(keymaster_algorithm_t algorithm, in StoreDefaultNewKeyParams() argument
963 if (algorithm == KM_ALGORITHM_RSA) { in StoreDefaultNewKeyParams()