Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_rsa_helper.c77 uint8_t tmp_field[4]; in asn1_compose_len() local
88 tmp_field[0] = (len >> 24) & 0xff; in asn1_compose_len()
89 tmp_field[1] = (len >> 16) & 0xff; in asn1_compose_len()
90 tmp_field[2] = (len >> 8) & 0xff; in asn1_compose_len()
91 tmp_field[3] = len & 0xff; in asn1_compose_len()
93 for (i = 0; i < sizeof(tmp_field); i++) { in asn1_compose_len()
94 if (tmp_field[i] == 0x00) in asn1_compose_len()
97 for (j = 0; j < sizeof(tmp_field) - i; j++) in asn1_compose_len()
98 field[j + 1] = tmp_field[j + i]; in asn1_compose_len()
102 field[0] = 0X80 + sizeof(tmp_field) - i; in asn1_compose_len()
[all …]