Lines Matching refs:ivlen
3045 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local
3077 ivlen = cipher_ivlen(cipher); in sshkey_private_to_blob2()
3079 if ((key = calloc(1, keylen + ivlen)) == NULL) { in sshkey_private_to_blob2()
3086 salt, SALT_LEN, key, keylen + ivlen, rounds) < 0) { in sshkey_private_to_blob2()
3099 key + keylen, ivlen, 1)) != 0) in sshkey_private_to_blob2()
3174 explicit_bzero(key, keylen + ivlen); in sshkey_private_to_blob2()
3197 size_t i, keylen = 0, ivlen = 0, authlen = 0, slen = 0; in sshkey_parse_private2() local
3305 ivlen = cipher_ivlen(cipher); in sshkey_parse_private2()
3307 if ((key = calloc(1, keylen + ivlen)) == NULL) { in sshkey_parse_private2()
3316 key, keylen + ivlen, rounds) < 0) { in sshkey_parse_private2()
3331 key + keylen, ivlen, 0)) != 0) in sshkey_parse_private2()
3396 explicit_bzero(key, keylen + ivlen); in sshkey_parse_private2()