示例#1
0
const EVP_CIPHER *evp_get_fips_cipher(const EVP_CIPHER *cipher)
{
    int nid = cipher->nid;
    if (nid == NID_undef)
        return FIPS_evp_enc_null();
    else
        return FIPS_get_cipherbynid(nid);
}
示例#2
0
文件: evp_fips.c 项目: 274914765/C
const EVP_CIPHER *EVP_enc_null (void)
{
    return FIPS_evp_enc_null ();
}