Lines Matching refs:KeyParameter
22 KeyOrigin::KeyOrigin, KeyParameter::KeyParameter, KeyParameterValue::KeyParameterValue,
678 pub fn check_key_param(authorizations: &[Authorization], key_param: KeyParameter) -> bool { in check_key_param()
711 KeyParameter { tag: Tag::ALGORITHM, value: KeyParameterValue::Algorithm(Algorithm::RSA) } in import_rsa_2048_key()
716 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(2048) } in import_rsa_2048_key()
721 KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(Digest::SHA_2_256) } in import_rsa_2048_key()
726 KeyParameter { in import_rsa_2048_key()
734 KeyParameter { in import_rsa_2048_key()
742 KeyParameter { tag: Tag::ORIGIN, value: KeyParameterValue::Origin(KeyOrigin::IMPORTED) } in import_rsa_2048_key()
771 KeyParameter { tag: Tag::ALGORITHM, value: KeyParameterValue::Algorithm(Algorithm::EC) } in import_ec_p_256_key()
776 KeyParameter { tag: Tag::EC_CURVE, value: KeyParameterValue::EcCurve(EcCurve::P_256) } in import_ec_p_256_key()
781 KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(Digest::SHA_2_256) } in import_ec_p_256_key()
785 KeyParameter { tag: Tag::ORIGIN, value: KeyParameterValue::Origin(KeyOrigin::IMPORTED) } in import_ec_p_256_key()
820 KeyParameter { tag: Tag::ALGORITHM, value: KeyParameterValue::Algorithm(Algorithm::AES) } in import_aes_key()
824 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(128) } in import_aes_key()
828 KeyParameter { in import_aes_key()
835 KeyParameter { tag: Tag::BLOCK_MODE, value: KeyParameterValue::BlockMode(BlockMode::ECB) } in import_aes_key()
839 KeyParameter { tag: Tag::ORIGIN, value: KeyParameterValue::Origin(KeyOrigin::IMPORTED) } in import_aes_key()
876 KeyParameter { in import_3des_key()
883 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(168) } in import_3des_key()
887 KeyParameter { in import_3des_key()
894 KeyParameter { tag: Tag::BLOCK_MODE, value: KeyParameterValue::BlockMode(BlockMode::ECB) } in import_3des_key()
898 KeyParameter { tag: Tag::ORIGIN, value: KeyParameterValue::Origin(KeyOrigin::IMPORTED) } in import_3des_key()
933 KeyParameter { tag: Tag::ALGORITHM, value: KeyParameterValue::Algorithm(Algorithm::HMAC) } in import_hmac_key()
937 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(128) } in import_hmac_key()
941 KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(Digest::SHA_2_256) } in import_hmac_key()
945 KeyParameter { tag: Tag::ORIGIN, value: KeyParameterValue::Origin(KeyOrigin::IMPORTED) } in import_hmac_key()