Changeset View
Changeset View
Standalone View
Standalone View
b/cipher/pubkey-util.c
Context not available. | |||||
ctx->nbits = nbits; | ctx->nbits = nbits; | ||||
ctx->encoding = PUBKEY_ENC_UNKNOWN; | ctx->encoding = PUBKEY_ENC_UNKNOWN; | ||||
ctx->flags = 0; | ctx->flags = 0; | ||||
ctx->hash_algo = GCRY_MD_SHA1; | if (fips_mode ()) { | ||||
ctx->hash_algo = GCRY_MD_SHA256; | |||||
} else { | |||||
ctx->hash_algo = GCRY_MD_SHA1; | |||||
} | |||||
ctx->label = NULL; | ctx->label = NULL; | ||||
ctx->labellen = 0; | ctx->labellen = 0; | ||||
ctx->saltlen = 20; | ctx->saltlen = 20; | ||||
Context not available. |