returns the OpenSSL cipher instance
(self, name)
| 437 | return int((self.BN_num_bits(x) + 7) / 8) |
| 438 | |
| 439 | def get_cipher(self, name): |
| 440 | """ |
| 441 | returns the OpenSSL cipher instance |
| 442 | """ |
| 443 | if name not in self.cipher_algo: |
| 444 | raise Exception("Unknown cipher") |
| 445 | return self.cipher_algo[name] |
| 446 | |
| 447 | def get_curve(self, name): |
| 448 | """ |
no outgoing calls
no test coverage detected