Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 6 of 6) sorted by relevance

/openssl/test/
H A Dtiming_load_creds.c101 struct stat sb; in main() local
142 if (stat(av[0], &sb) < 0) { in main()
146 contents = OPENSSL_malloc(sb.st_size + 1); in main()
152 if ((long)fread(contents, 1, sb.st_size, fp) != sb.st_size) { in main()
156 contents[sb.st_size] = '\0'; in main()
165 readx509(contents, (int)sb.st_size); in main()
168 readpkey(contents, (int)sb.st_size); in main()
184 readx509(contents, (int)sb.st_size); in main()
187 readpkey(contents, (int)sb.st_size); in main()
H A Dsanitytest.c29 enum smallchoices { sa, sb, sc }; in test_sanity_enum_size() enumerator
/openssl/ssl/
H A Dbio_ssl.c96 BIO_SSL *sb; in ssl_read() local
103 sb = BIO_get_data(b); in ssl_read()
104 ssl = sb->ssl; in ssl_read()
112 if (sb->renegotiate_count > 0) { in ssl_read()
113 sb->byte_count += *readbytes; in ssl_read()
114 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
115 sb->byte_count = 0; in ssl_read()
116 sb->num_renegotiates++; in ssl_read()
125 if (tm > sb->last_time + sb->renegotiate_timeout) { in ssl_read()
126 sb->last_time = tm; in ssl_read()
[all …]
/openssl/crypto/rand/
H A Drandfile.c98 struct stat sb; in RAND_load_file() local
113 if (fstat(fileno(in), &sb) < 0) { in RAND_load_file()
121 if (S_ISREG(sb.st_mode)) in RAND_load_file()
122 bytes = sb.st_size; in RAND_load_file()
188 struct stat sb; in RAND_write_file() local
190 if (stat(file, &sb) >= 0 && !S_ISREG(sb.st_mode)) { in RAND_write_file()
/openssl/apps/
H A Docsp.c887 struct stat sb; in index_changed() local
889 if (rdb != NULL && stat(rdb->dbfname, &sb) != -1) { in index_changed()
890 if (rdb->dbst.st_mtime != sb.st_mtime in index_changed()
891 || rdb->dbst.st_ctime != sb.st_ctime in index_changed()
892 || rdb->dbst.st_ino != sb.st_ino in index_changed()
893 || rdb->dbst.st_dev != sb.st_dev) { in index_changed()
/openssl/crypto/ec/curve448/
H A Dcurve448.c403 uint8_t sb = scalar[t / 8]; in ossl_x448_int() local
408 sb &= -(uint8_t)COFACTOR; in ossl_x448_int()
410 sb = -1; in ossl_x448_int()
412 k_t = (sb >> (t % 8)) & 1; in ossl_x448_int()

Completed in 16 milliseconds