Searched refs:cipherlen (Results 1 – 5 of 5) sorted by relevance
187 nsmb_decrypt_mblks(smb_enc_ctx_t *ctxp, mblk_t *mp, size_t cipherlen) in nsmb_decrypt_mblks() argument193 if (cipherlen <= SMB2_SIG_SIZE) in nsmb_decrypt_mblks()195 inlen = cipherlen; in nsmb_decrypt_mblks()196 outlen = cipherlen - SMB2_SIG_SIZE; in nsmb_decrypt_mblks()
381 size_t cipherlen; in encrypt_size() local385 cipherlen = (size_t)P2ROUNDUP(null_hash.hash_len + in encrypt_size()389 cipherlen = (size_t)P2ROUNDUP(md5_hash.hash_len + in encrypt_size()394 cipherlen = (size_t)P2ROUNDUP(crc32_hash.hash_len + in encrypt_size()399 cipherlen = (size_t)P2ROUNDUP(sha1_hash.confound_len + in encrypt_size()404 cipherlen = (size_t)P2ROUNDUP(md5_hash.confound_len + in encrypt_size()410 cipherlen = DEFAULT_AES_BLOCKLEN + plainlen + in encrypt_size()415 cipherlen = plainlen; in encrypt_size()419 return (cipherlen); in encrypt_size()1661 size_t cipherlen; in aes_encrypt() local[all …]
261 nsmb_decrypt_mblks(smb_enc_ctx_t *ctxp, mblk_t *mp, size_t cipherlen) in nsmb_decrypt_mblks() argument269 if (cipherlen <= SMB2_SIG_SIZE) in nsmb_decrypt_mblks()271 inlen = cipherlen; in nsmb_decrypt_mblks()272 outlen = cipherlen - SMB2_SIG_SIZE; in nsmb_decrypt_mblks()
308 size_t cipherlen; in smb3_decrypt_sr() local373 cipherlen = sr->th_msglen + SMB2_SIG_SIZE; in smb3_decrypt_sr()419 authdata, authlen, cipherlen); in smb3_decrypt_sr()
87 int decrypt_update(crypto_op_t *op, size_t offset, size_t cipherlen,