openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_CipherSetPadding()

int32_t CRYPT_EAL_CipherSetPadding ( CRYPT_EAL_CipherCtx ctx,
CRYPT_PaddingType  type 
)

Set the padding mode.

参数
ctxSymmetric encryption/decryption handle
typePadding type
返回值
CRYPT_SUCCESS,success.Error codes see crypt_errno.h