Home
last modified time | relevance | path

Searched refs:uniplen (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_key.c26 int uniplen; in PKCS12_key_gen_asc_ex() local
30 uniplen = 0; in PKCS12_key_gen_asc_ex()
31 } else if (!OPENSSL_asc2uni(pass, passlen, &unipass, &uniplen)) { in PKCS12_key_gen_asc_ex()
35 ret = PKCS12_key_gen_uni_ex(unipass, uniplen, salt, saltlen, id, iter, in PKCS12_key_gen_asc_ex()
37 OPENSSL_clear_free(unipass, uniplen); in PKCS12_key_gen_asc_ex()
56 int uniplen; in PKCS12_key_gen_utf8_ex() local
60 uniplen = 0; in PKCS12_key_gen_utf8_ex()
61 } else if (!OPENSSL_utf82uni(pass, passlen, &unipass, &uniplen)) { in PKCS12_key_gen_utf8_ex()
65 ret = PKCS12_key_gen_uni_ex(unipass, uniplen, salt, saltlen, id, iter, in PKCS12_key_gen_utf8_ex()
67 OPENSSL_clear_free(unipass, uniplen); in PKCS12_key_gen_utf8_ex()
/freebsd/sys/netsmb/
H A Dsmb_smb.c299 int error, plen, uniplen, ulen, upper; in smb_smb_ssnsetup() local
337 uniplen = plen = 24; in smb_smb_ssnsetup()
339 ntencpass = malloc(uniplen, M_SMBTEMP, M_WAITOK); in smb_smb_ssnsetup()
354 uniplen = plen * 2; in smb_smb_ssnsetup()
355 ntencpass = malloc(uniplen, M_SMBTEMP, M_WAITOK); in smb_smb_ssnsetup()
365 uniplen = 0/*-= 2*/; in smb_smb_ssnsetup()
376 uniplen = 0 /* sizeof(smb_unieol) */; in smb_smb_ssnsetup()
387 plen = uniplen = 0; in smb_smb_ssnsetup()
403 mb_put_uint16le(mbp, uniplen); in smb_smb_ssnsetup()
409 mb_put_mem(mbp, (caddr_t)unipp, uniplen, MB_MSYSTEM); in smb_smb_ssnsetup()